package com.atguigu.day11.exer.e4;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/12 16:44
 * @注释 父类
 */
public class Graphic {
    public double area(){
        return 0.0;
    }
    public double perimeter(){
        return 0.0;
    }

    @Override
    public String toString() {
        return ", 面积：" + area() + ", 周长：" + perimeter();
    }
}
